package com.example.whatrubbish.model;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class Function implements Serializable {
    private Long functionId;

    private String functionName;

    private Long functionParentId;

    private String functionUrl;

    private Date functionDate;

    private Integer functionStatus;

    public Function(Long functionId, String functionName, Long functionParentId, String functionUrl, Date functionDate, Integer functionStatus) {
        this.functionId = functionId;
        this.functionName = functionName;
        this.functionParentId = functionParentId;
        this.functionUrl = functionUrl;
        this.functionDate = functionDate;
        this.functionStatus = functionStatus;
    }

    public Function() {
        super();
    }

}